package org.gd.science.ulrmapper.tests.entities;

import org.gd.science.ulrmapper.annotations.RootUrl;
import org.gd.science.ulrmapper.annotations.UrlParameter;

/**
 * @author Gorhover
 * @version 1.0-SNAPSHOT
 * @since 2013-11-19 08:37
 */
@RootUrl(required = false)
public class User {

    @UrlParameter("NAME")
    private String name;
    @UrlParameter
    private String login;

    public User() {
    }

    public User(String name, String login) {
        this();
        this.name = name;
        this.login = login;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }
}
